<div class="content-table">
<div class="content-table-title"><?=$this->title?></div>
<div class="content-table-breadcrumb"><a href="/bk/level3/id/<?=$this->level2_id?>"><返回</a></div>
<div class="form-edit-task">

<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<?php endif;?>

<form action="/bk/level3-add-submit" method="post" name="form1" enctype="multipart/form-data" onsubmit="return submitform(this)">
<span>分类：</span> <select name="category_id" id="category_id">
	<option value="1">彩票</option>
	<option value="2">红包</option>
	<option value="3">奖品</option>
	<option value="4">打折券</option>
</select>
 <font>*</font><br/>
<span>封面标题：</span><input type="text" placeholder="封面标题" name="banner_text" id="banner_text" />  <font>*</font><br/>
<span>封面图：</span><input type="file" name="image" /> (226x226) <font>*</font><br/>
<span>文章标题：</span><input type="text" placeholder="文章标题" name="slogan" id="slogan" />  <font>*</font><br/>
<span>正文：</span><script id="contents" type="text/plain" style="width:750px;height:500px;"></script><br/>
<span>参与人数：</span><input type="text" placeholder="参与人数" name="joined_members" id="joined_members" value="0">  <font>*</font><br/>
<span>跳转链接：</span><input type="text" placeholder="跳转链接" name="external_url" id="external_url" />  <font>*</font><br/>
<span>状态：</span> <select name="status" id="status">
	<option value="1">在线</option>
	<option value="0">下线</option>
</select>
 <font>*</font><br/>
<br/>
<input type="hidden" name="level2_id" value="<?=$this->level2_id?>" />
<input type="submit" class="buttonlong" value="确认" />
<br /><br />
</form>
</div>
<br/><br/>
</div>

<script>
var ue = UE.getEditor('contents');
	
function submitform() 
{
	form1.submit();
}
</script>